import { createApp } from 'vue'
import App from './App.vue'
import router from "@/router/idnex";
import axios from "@/request/request";
import store from '@/store/index'
import ElementPlus from "element-plus";
import "element-plus/dist/index.css";
import * as ElementPlusIconsVue from "@element-plus/icons-vue";

require('./mock/idnex');

let app= createApp(App);
app.use(ElementPlus).use(router).use(store).mount('#app')
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    app.component(key, component);
}
app.config.globalProperties.$axios=axios;
